package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单操作记录业务对象 p_store_order_status
 *
 * @author ruoyi
 * @date 2022-08-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("订单操作记录业务对象")
public class PStoreOrderStatusBo extends BaseEntity {

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id", required = true)
    @NotNull(message = "订单id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer oid;

    /**
     * 操作类型
     */
    @ApiModelProperty(value = "操作类型", required = true)
    @NotBlank(message = "操作类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String changeType;

    /**
     * 操作备注
     */
    @ApiModelProperty(value = "操作备注", required = true)
    @NotBlank(message = "操作备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String changeMessage;


}
